package com.joy.web.admin.service.impl;

import com.joy.web.admin.mapper.UserRoleMapper;
import com.joy.web.admin.service.IUserRoleService;
import com.joy.web.admin.entity.UserRole;
import com.joy.web.base.service.impl.IBaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjzhao
 * @since 2019-09-17
 */
@Service
public class UserRoleServiceImpl extends IBaseServiceImpl<UserRoleMapper, UserRole> implements IUserRoleService {

    @Override
    public List<String> findRoleIdListByUserId(String userId) throws Exception {
        return baseMapper.findRoleIdListByUserId(userId);
    }
}
